﻿
$header-bgcolor: #444;
$header-color: #fff;
$body-color: #444;
$body-bgcolor: #fff;
$link-color: #0e5494;
$footer-height: 30px;
* {
  margin: 0;
  padding: 0;
}

html {
    position: relative;
    min-height: 100%;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

body {
  position: relative;
  word-wrap: break-word;
  font: 12px/200% "Hiragino Sans GB","Microsoft YaHei","微软雅黑",tahoma,arial,simsun,"宋体";
  color: #868686;
  background: #fbfbfb;
}

.container {
    display: block;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}



a {
    color: $link-color;
}

img {
    border: none;
}

.title {
    line-height: 2em;
    margin-bottom: .5em;

    h2 {
        margin: 0;
        max-width: 70%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    > nav {
        float: right;
    }
}

.pic {
    img {
        display: block;
        width: 100%;
        opacity: 0;
        -moz-transition: opacity 500ms ease-in-out;
        -o-transition: opacity 500ms ease-in-out;
        -webkit-transition: opacity 500ms ease-in-out;
        transition: opacity 500ms ease-in-out;
        will-change: opacity;

        &.loaded {
            opacity: 1;
        }
    }

    a {
        background: #f1f1f1;
        position: relative;
        display: block;
        margin-bottom: 2px;

        &:after {
            content: attr(data-text);
            position: absolute;
            bottom: 0;
            width: 100%;
            font-size: .9em;
            line-height: 1.7;
            text-indent: 5px;
            background: rgba(0, 0, 0, .60);
            color: $body-bgcolor;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            opacity: 0;
            -moz-transition: opacity 300ms ease-in-out;
            -o-transition: opacity 300ms ease-in-out;
            -webkit-transition: opacity 300ms ease-in-out;
            transition: opacity 300ms ease-in-out;
        }

        &:hover:after,
        &:focus:after {
            opacity: 1;
        }
    }
}

.albumlist {
    display: flex;
    flex-flow: row wrap;
    margin: -2px;

    > a {
        flex-basis: 15%;
        flex-grow: 1;
        min-width: 196px;
        margin: 1px;
        width: 100%;

        &:after {
            opacity: 1;
        }
    }

    img {
        height: 175px;
    }
}

.photolist {
    margin-right: -2px;
    margin-bottom: 20px;
    -ms-column-gap: 2px;
    -moz-column-gap: 2px;
    -webkit-column-gap: 2px;
    column-gap: 2px;
    -ms-column-width: 190px;
    -moz-column-width: 190px;
    -webkit-column-width: 190px;
    column-width: 190px;
}

.photo {
    img {
        margin-bottom: 8px;
    }

    .download {
        float: right;
    }
}
.footer {
  font-size: 12px;
  font-family: Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace;
  text-shadow: 0 1px #fff;
  position: absolute;
  opacity: .6;
  width: 100%;
  text-align: center;
  height: 30px;
  box-sizing: border-box;
  bottom: 0;
  left: 0;
  padding-top: 60px;
}
.footer a {
  background: transparent;
  text-decoration: none;
  color: #08c;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?j5npn0');
  src:  url('fonts/icomoon.eot?j5npn0#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?j5npn0') format('truetype'),
    url('fonts/icomoon.woff?j5npn0') format('woff'),
    url('fonts/icomoon.svg?j5npn0#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* new style */
.header-avater {
  width: 80px;
  height: 80px;
}
.header-title {
  margin-top: 20px;
  color: #888;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: 1px;
}

header {
  padding-top: 30px;
  width: 300px;
  margin: 0 auto;
  text-align: center;
}
.m-nav {
  margin-top: 30px;
  padding: 3px 15px;
  border: 2px solid #7acece;
  border-radius: 10px;
  display: inline-block;
}
.m-nav li {
  display: inline-block;
}
.m-nav a {
  color: #999;
}
.m-nav .sep {
  padding: 0 8px;
}


.layout {
  color: #333;
  padding: 60px;
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
}

.albums, .photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.thumb {
  text-align: center;
  list-style: none;
  float: left;
  width: 300px;
  height: 220px;
  margin: 10px;
  padding: 0 0 13px 0;
  background: #fff;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid #eee;
}

.thumb:before {
    -webkit-transform: skew(-15deg) rotate(-5deg);
    -moz-transform: skew(-15deg) rotate(-5deg);
    -o-transform: skew(-15deg) rotate(-5deg);
    transform: skew(-15deg) rotate(-5deg);
    left: 15px;
}
.thumb:after {
    -webkit-transform: skew(15deg) rotate(5deg);
    -moz-transform: skew(15deg) rotate(5deg);
    -o-transform: skew(15deg) rotate(5deg);
    transform: skew(15deg) rotate(5deg);
    right: 15px;
}
.thumb:before, .thumb:after {
    width: 88%;
    height: 20%;
    content: ' ';
    -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 18px;
    z-index: -1;
}

.thumb figcaption {
  width: 100%;
  line-height: 32px;
  max-height: 32px;
  overflow: hidden;
  font-size: 14;
  word-wrap: break-word;
}

.thumb img {
  overflow: hidden;
  margin: auto;
  height: auto;
  width: auto;
}
.img-wrap {
  width: 300px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  overflow: hidden;
  position: relative;
}

figure.photo {
  margin: 10px;
}

figure.photo img {
  max-width: 100%;
}

figure.photo figcaption {
  padding-left: 10px;
}

.coverImg{
    
    width: 300px;
    margin-top: -49.5px;
}
